5ce6ee
@@ -843,8 +843,9 @@
public class AddOnRooBotOperationsImpl implements AddOnRooBotOperations {
 	
 	private boolean isBundleInstalled(Bundle search) {
 		BundleContext bundleContext = context.getBundleContext();
-		for (org.osgi.framework.Bundle bundle: bundleContext.getBundles()) {
-			String bsn = bundle.getHeaders().get("Bundle-SymbolicName").toString();
+		for (org.osgi.framework.Bundle bundle : bundleContext.getBundles()) {
+			Object bsnObject = bundle.getHeaders().get("Bundle-SymbolicName");
+			String bsn = bsnObject != null ? bsnObject.toString() : "";
 			if (StringUtils.hasText(bsn) && bsn.equals(search.getSymbolicName())) {
 				return true;
 			}
